
//用于将token存入localStorage
export function saveToken(token){
    localStorage.setItem('token',token)
  }
  
  //用于从localStorage中读取token
  export function readToken(){
    return localStorage.getItem('token')
  }
  
  //从localStoragre删除用户token
  export function deleteToken(){
    localStorage.removeItem('token')
  }